home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Turnbull China Bikeride
/
Turnbull China Bikeride - Disc 1.iso
/
ARGONET
/
PD
/
PROGRAMMING
/
DESKLIBC
/
SOURCES.ZIP
/
DeskLib
/
!DLSources
/
Libraries
/
Font
/
s
/
Font05
< prev
next >
Wrap
Text File
|
1995-08-26
|
644b
|
29 lines
; Author: Copyright 1993 Shaun Blackmore
GET ^.h.regdefs
GET ^.h.swinos
GET ^.h.macros
;os_error *Font_StringWidth(FontString *string);
; r0=pointer to definition block
; [r0,#0] = char *s string
; [r0,#4] = x
; [r0,#8] = y
; [r0,#12] = split
; [r0,#16] = index
PREAMBLE
STARTCODE Font_StringWidth
;
STMFD sp!, {r4,r5,r6,lr}
MOV r6,r0
LDMIA r6,{r1,r2,r3,r4,r5}
SWI SWI_Font_StringWidth + XOS_Bit
STMIA r6,{r1,r2,r3,r4,r5}
MOVVC r0,#0
LDMFD sp!, {r4,r5,r6,pc}^
;
END